import Vue from 'vue'
import App from './App.vue'
import router from './router'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import store from './store'
import { callhandler, registerhandler } from './assets/js/bridge'
// 样式
import './assets/scss/normalize.scss'
import './assets/scss/reset.scss'
// rem 布局
import 'lib-flexible'
import LyTab from 'ly-tab'
// vConsole
// import Vconsole from 'vconsole'
// const vConsole = new Vconsole()
// if (process.env.VUE_APP_MODE === 'development') {
//   Vue.use(vConsole)
// }
// tab 动画导航
Vue.use(LyTab)
// 挂载 jsBridge
Vue.prototype.$callhandler = callhandler
Vue.prototype.$registerhandler = registerhandler

Vue.config.productionTip = false
Vue.use(MintUI)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')